// 混合
.w-h(@w: 100%; @h: 60px) {
    width: @w;
    height: @h;
}

@blue: #29b078;
@white: #fff;
@size: 50px;
@gray: #d0d6d9;
@dark_gray: #888;

.mixing {
    .w-h();
    align-items: center;
    display: flex;
    border-bottom: 1px solid @gray;
}

.bg-color(@color: #fff) {
    background-color: @color;
}

.placeholder {
    .w-h(100%; 40px);
}

// ------------
/*内容部分*/
.subnavbox {
    .mixing();

    .subnav {
        color: black;

        &:hover {
            color: @blue;
        }
    }

    .h5 {
        color: @blue;
    }
}

.list-inline {
    .mixing();
    flex-wrap: wrap;

    .direction {
        color: @gray;
    }

    .option {
        color: black;
        margin: 0 10px;

        &:hover {
            background-color: @blue;
            color: @white;
        }
    }
}

/*职业信息*/
.car_bar {
    box-shadow: 2px 2px 10px @dark_gray;
    background-color: @white;
    position: relative;
}

.car_bar-top {
    display: flex;

    .avatar {
        min-width: 100px;
        height: 105px;
        padding: 10px;

        img {
            .w-h(100%; 100%);
        }
    }
}

.titl {
    text-align: center;
    margin: 15px 0 9px 0;
}

.title-content {
    margin: 0 10px;
    word-break: break-all;
}

.claim-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;

    .claim {
        .w-h(50%, 50px);
        border-top: 1px solid @gray;
        border-bottom: 1px solid @gray;
        border-right: 1px solid @gray;
        margin: -1px -1px 0 0;

        .difficulty {
            display: inline-block;
            color: @dark_gray;
            line-height: 50px;
            margin: 0 7px;

            img {
                margin-left: 10px;
            }
        }

        p {
            display: inline-block;
        }
    }
}

.treatment-block {
    display: flex;
    .w-h(100%; 120px);

    .salary {
        width: 35%;
        line-height: 120px;
        text-align: center;
        color: @dark_gray;
        border-bottom: 1px solid @gray;
    }
}

.treatment-box {
    width: 65%;

    .treatment {
        display: flex;
        justify-content: space-around;
        .w-h(100%; 40px);
        line-height: 40px;
        border-bottom: 1px solid @gray;
        border-left: 1px solid @gray;
        margin-top: -1px;
    }
}

.trainee {
    .w-h(100%; 50px);
    line-height: 50px;
    padding: 0 7px;
    border-bottom: 1px solid @gray;
}

.prompt {
    .w-h(100%; 50px);
    box-sizing: border-box;
    padding: 12px 7px;
    border-bottom: 1px solid @gray;
    color: @dark_gray;
}

/*hover部分*/
.hoverbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;

    &:hover {
        opacity: 1;
    }

    .hover-block {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #fff;
        transition: all 2s linear;

        /*过渡效果*/
        &:hover {
            background-color: rgba(0, 0, 0, .7);
        }

        .ios-top {
            text-align: center;
            padding: 10% 0;
            color: @white;
        }

        .ios-bottom {
            text-indent: 2em;
            text-align: justify;
            color: @white;
            margin: 0 30px;
        }
    }
}
.placeholder-big {
    .w-h(100%;200px);
}
